<?php

class Application_Form_EditGroup extends Zend_Form
{

    public function init()
    {
        /* Form Elements & Other Definitions Here ... */
        $this->addElement('text','multipler', array(
            'label'=>'Mnożnik grupy',
            'required'      =>TRUE,
            'validators'    =>array('int'),
        ));
        
        $this->addElement('select','isMandatory',array(
            'label'=>'Grupa obowiązkowa',
            'multiOptions'=>array(
                1 => 'Tak',
                0 => 'Nie'
            )
        ));
        
        $this->addElement('submit','submit',array(
            'label'=>'Zmien',
        ));
    }


}

